home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-10-03 | 10.4 KB | 210 lines | [ttro/ttxt] |
- Using QuickDraw 3D™
-
-
- This file extends the PatchDance Manual to describe the new QuickDraw
- 3D capability added to version 0.4b2. PatchDance should handle most
- QuickDraw 3D files and is definitely the highest-performance solution
- available for viewing and editing them.
-
- NOTE: This document often refers to “QuickDraw 3D files”: these are
- also called “3DMF” files. This is how it appears in the Save and Open di
- alogs (the file type popup), and on our icons. 3DMF means “3D Metafile,”
- Apple’s name for their new file format.
-
- All operations require that you have the QuickDraw 3D shared library
- installed on your computer. This in turn requires you to have at least
- 16MB of memory (and several MB free); if you don’t, these features will
- not work (you’ll see an alert).
-
-
- Reading QuickDraw 3D metafiles
- Just do it! Our own files can be double-clicked; others can be dragged
- and dropped onto the PatchDance icon or opened using the Open… command
- under the file menu. You must set the filetype popup menu either to
- “3DMF” or “All Types” to display QuickDraw 3D files.
-
- If a ViewHints object is found in the file, PatchDance uses it to config
- ure its own Camera and Focus; otherwise, the default arrangement is
- used (unless switched off).
-
- Saving QuickDraw 3D metafiles
- Again, just do it! Set the filetype popup menu in the Save… dialog to
- “3DMF” to save as a QuickDraw 3D file.
-
- PatchDance is designed to allow you to work transparently in any supported
- (for saving AND opening) file type. Saving in QuickDraw 3D format sets
- the current file type appropriately and all subsequent saves will also
- be done in QuickDraw 3D format by default. To change, just use Save As…
- from the File menu and choose a new type.
- If you wish to save a single copy in a different format without setting
- a new default file type, use Save Copy…. This is useful when you use a
- different file type to export your finished work.
- We recommend that you work in the native format as much as possible.
- Others can’t save all the information that it does, and are considerably
- slower and more memory intensive as well.
-
-
- Using the QuickDraw 3D Viewing Option
- Click the “QuickDraw 3D” icon (it looks not unlike a “Q”) at the bottom
- of the Camera window to activate this mode. If enough memory is avail
- able, the view will be displayed using the QuickDraw 3D interactive ren
- derer. There is no “Pencil” control: real time updating is always enabled.
-
- The view is set up identically to the standard view and should be about
- the same size and orientation (problems still exist with Camera Roll).
- Rendering is set to use the highest quality mode available and cannot be
- changed. All controls work exactly the same way as they normally do,
- though a few may not be fully operational in the first release.
-
- This capability is provided to allow fairly high quality preview render
- ing. It is not recommended for normal use: PatchDance’s own preview
- system is MUCH faster and more responsive, when visualization is more
- important than accurate shading. The system IS designed to use acceler
- ated graphics cards if installed; unfortunately we have none to test with.
-
- Note: QuickDraw 3D is designed to work best with your monitor set to
- Thousands or Millions of colors. PatchDance works much better with 256
- colors, and you should always use this setting unless you’re actually using
- QuickDraw 3D for a preview. There are numerous utilities (some free)
- available for switching color depth. We use QuicKeys™, and highly recom
- mend it.
-
-
- Cut and Paste with QuickDraw 3D
- This allows you to exchange 3D information between PatchDance and
- any other program that supports cut and paste. That’s all you need to
- know to use it! (except for turning it on the first time.)
-
- There is a new checkbox in the Preferences Dialog: Export Clipboard.
- This is OFF (unchecked) by default: this prevents PatchDance from con
- verting its own clipboard to QuickDraw 3D format (which prevents you
- from pasting PatchDance data into any other application.) Leave this off
- unless you need it: the conversion process takes time and memory, every
- time you switch to another application.
-
- Important: Do not assume that this is turned on, even if you set it as the
- default: if QuickDraw 3D is unavailable for any reason, it will be turned
- off without warning (the export will not happen).
-
- Importing QuickDraw 3D data via the clipboard will take slightly longer
- the first time a given object is pasted: to save time when switching ap
- plications, PatchDance does not convert the clipboard unless it absolutely
- must.
-
-
- Viewing the Clipboard
- The Show Clipboard menu item (under Edit) allows you to see the 3D
- data stored on the clipboard. For this to work, you must also have the
- QuickDraw 3D Viewer shared library in your Extensions folder. If not, the
- menu item will be dimmed.
-
- Selecting this opens a small window (the standard QuickDraw 3D View
- er) that displays the clipboard contents. The window updates when the
- clipboard does: Cut or Copy something to see it there. This feature con
- sumes a lot of memory and processor time; you should probably not leave
- it open all the time.
-
- Important: Another use of Show Clipboard is to force clipboard conver
- sion. This may be useful if you normally leave Export Clipboard off but
- need to paste something into another application. Showing the clipboard
- forces the conversion to occur, and saves you the effort of changing the
- Preferences.
-
-
- ----------------------------------------------------------
-
-
- QuickDraw 3D General Information (optional)
-
- This version of the QuickDraw 3D file importer reads all of the currently
- supported object types EXCEPT:
- - General Polygons.
-
-
- In addition, there are a few limitations and known problems:
- - Mesh faces with contours (holes) import as solid faces.
- - NURBS curves and patches created by other applications may not import
- precisely. See the final (NURBS and You) section for more details.
- - Not all QuickDraw 3D defined attributes are supported: you are limited
- to the available QuickColors and texture mapping is not available. Un
- supported features are lost when resaving a file; this will improve as
- more of PatchDance’s rendering (and texturing) system comes online.
- - Hierarchy information (names) cannot be exported. This will be added.
- - Most of the Camera Window controls work, but they respond much more
- slowly than you may be used to. Have patience and switch to Patch
- Dance’s display modes if interactivity is needed. When moving the
- Camera or Focus, try holding the mouse down for a few seconds after
- placing them: otherwise, they tend to only move part of the way.
-
- PatchDance has successfully read most of the Apple supplied test files
- containing supported object types. Be aware that some of them (meshes
- especially) create VERY large models, which require more than the mini
- mum amount of RAM to handle.
-
- Important: In very low memory situations, save a copy of your work
- in PatchDance’s native format (which requires VERY little extra memory)
- before attempting to save in other formats (including QuickDraw 3D).
-
-
- The Future
- While the QuickDraw 3D camera is interruptible, it is not “tuned” for
- performance the way the built-in view is. It’s possible to improve the
- speed further, but the memory cost is extremely high and interactivity is
- still not really there except for very simple models. The existing system
- WILL make use of hardware accelerators if present, and we will provide
- better controls as soon as the hardware catches up. We’d be happy to see
- those who can afford it using the QuickDraw 3D preview full time, and we
- will make every effort to support this.
-
- It is possible to read and write 3DMF files without the QuickDraw 3D
- library being installed. This would allow PatchDance to open and save 3D
- models on computers without the necessary RAM to run QuickDraw 3D, but
- would not allow the use of any other QuickDraw 3D features. The
- timetable for implementing this depends on public demand.
-
- NURBS and You.
- This section contains basic background data. If you have more techni
- cal questions, e-mail tech support.
-
- NURBS (Non-Uniform Rational B-Splines) are QuickDraw 3D’s native
- curve and surface type. PatchDance uses Bezier cubic splines and Coons
- Patches. NURBS offer higher precision at the cost of more memory, slow
- er performance, and generally less intuitive editing. They are suited for
- advanced CAD-type applications where precision is needed; PatchDance is
- a general-purpose system that emphasizes ease of use, reasonable system
- requirements, and above all, SPEED. It is the fastest spline-based system
- available on the Power Macintosh, by a wide margin.
-
- PatchDance always writes QuickDraw 3D models in NURBS format. All
- models are written EXACTLY. This format may cause trouble with other
- (polygonal) software that cannot handle NURBS data. We are working on
- optionally saving in mesh format (and/or both types in the same file so
- that other applications can choose). This is hard, so if you really need
- this capability, ASK. That’s how priorities get set here!
-
- We have tested our files with most currently available QuickDraw 3D
- viewers and had no trouble. We expect the greatest problems to occur
- with third party applications that do not fully implement QuickDraw 3D;
- PLEASE notify us if you have ANY problems.
-
- One difficulty lies in parameterizing surfaces correctly. PatchDance
- takes a very “low level” approach to objects, and this means that we
- often save in pieces rather than as one spline surface. This may result in
- larger files and slower performance with other applications. (PatchDance
- itself is unaffected, and in fact generally loads and displays all files
- faster than the other programs we tested.)
-
- PatchDance is specifically optimized for lathed and extruded objects
- (the most common types). NURBS files (created or edited by OTHER appli
- cations) may not always import exactly. Errors may occur with “irregu
- lar” objects that were created or modified with programs providing ad
- vanced NURBS editing, such as vertex-level weighting control. Very few
- programs have this capability, and currently only form•Z™ is capable of
- writing a QuickDraw 3D file (we have NOT tested with this, and would like
- to hear from anyone who has).
-
- We pledge that our capability will continue to improve (we just could
- not manage complete NURBS conversion, complete texture support, AND
- acceptable stability in the time available.)
-
-